package InternetCode.Socket.Exa10;

import java.io.Serializable;

public class Student implements Serializable {
    //学生编号
    private String id;
    //学生姓名
    private String name;

    public Student(String id,String name){
        this.id=id;
        this.name=name;
    }
    public String getId() {
        return id;
    }
    public void setId(String id) {
        this.id = id;
    }
    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }
}
